package com.example.cloudcashierpos.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;

/**
 * 沽清表
 */
@Entity
public class corecmsfoodsoldout {
    /**
     * 序列
     */
    @Id
    private long id;

    /**
     * 总店id
     */
    private int corpId;

    /**
     * 门店id
     */
    private int storeId;

    /**
     * 菜品id
     */
    private long foodId;

    /**
     * 菜品规格id
     */
    private long foodSpecId;

    /**
     * 可售数量
     */
    private double soldout;

    /**
     * 沽清类型(0按餐段,1按班次,2按营业日)
     */
    private Integer soldoutType;

    /**
     * 频率设置(0重复执行,1只执行一次)
     */
    private Integer autoSoldout;

    /**
     * 沽清开始时间
     */
    private Date soldoutTime;

    /**
     * 沽清结束时间
     */
    private Date recoveryTime;

    /**
     * 沽清数量
     */
    private double recoveryQty;

    /**
     * 是否删除
     */
    private Integer deleted;

    /**
     * 更新时间
     */
    private Long modifyTime;

    @Generated(hash = 679590228)
    public corecmsfoodsoldout(long id, int corpId, int storeId, long foodId,
            long foodSpecId, double soldout, Integer soldoutType,
            Integer autoSoldout, Date soldoutTime, Date recoveryTime,
            double recoveryQty, Integer deleted, Long modifyTime) {
        this.id = id;
        this.corpId = corpId;
        this.storeId = storeId;
        this.foodId = foodId;
        this.foodSpecId = foodSpecId;
        this.soldout = soldout;
        this.soldoutType = soldoutType;
        this.autoSoldout = autoSoldout;
        this.soldoutTime = soldoutTime;
        this.recoveryTime = recoveryTime;
        this.recoveryQty = recoveryQty;
        this.deleted = deleted;
        this.modifyTime = modifyTime;
    }

    @Generated(hash = 1127129334)
    public corecmsfoodsoldout() {
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getCorpId() {
        return this.corpId;
    }

    public void setCorpId(int corpId) {
        this.corpId = corpId;
    }

    public int getStoreId() {
        return this.storeId;
    }

    public void setStoreId(int storeId) {
        this.storeId = storeId;
    }

    public long getFoodId() {
        return this.foodId;
    }

    public void setFoodId(long foodId) {
        this.foodId = foodId;
    }

    public long getFoodSpecId() {
        return this.foodSpecId;
    }

    public void setFoodSpecId(long foodSpecId) {
        this.foodSpecId = foodSpecId;
    }

    public double getSoldout() {
        return this.soldout;
    }

    public void setSoldout(double soldout) {
        this.soldout = soldout;
    }

    public Integer getSoldoutType() {
        return this.soldoutType;
    }

    public void setSoldoutType(Integer soldoutType) {
        this.soldoutType = soldoutType;
    }

    public Integer getAutoSoldout() {
        return this.autoSoldout;
    }

    public void setAutoSoldout(Integer autoSoldout) {
        this.autoSoldout = autoSoldout;
    }

    public Date getSoldoutTime() {
        return this.soldoutTime;
    }

    public void setSoldoutTime(Date soldoutTime) {
        this.soldoutTime = soldoutTime;
    }

    public Date getRecoveryTime() {
        return this.recoveryTime;
    }

    public void setRecoveryTime(Date recoveryTime) {
        this.recoveryTime = recoveryTime;
    }

    public double getRecoveryQty() {
        return this.recoveryQty;
    }

    public void setRecoveryQty(double recoveryQty) {
        this.recoveryQty = recoveryQty;
    }

    public Integer getDeleted() {
        return this.deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Long getModifyTime() {
        return this.modifyTime;
    }

    public void setModifyTime(Long modifyTime) {
        this.modifyTime = modifyTime;
    }

 
}
